import service from '@/utils/http'

// 查询导航栏树
export const navigationMenuTree = (params) => service.get('/sqlsBankWeb/bankWeb/selectMenuTree', {params})
    .then(response => {
        return response;
    })
// 查询导航栏
export const navigationMenu = (params) => service.get('/sqlsBankWeb/bankWeb/selectMenu', {params})
    .then(response => {
        return response;
    })
// 首页 协会动态 协会公告 会员动态 监管政策 分页
export const selectNewInfo = (params) => service.get('/sqlsBankWeb/bankWeb/selectNewsInfo', {params})
    .then(response => {
        return response;
    })
// 普惠金融产品分页
export const inclusiveFinancialProducts = (params) => service.get('/mobile/interface/selectTbankProductList', {params})
    .then(response => {
        return response;
    })

// 普惠金融政策
export const inclusiveFinancialPolicies = (params) => service.get('/mobile/interface/selectTPublicize', {params})
    .then(response => {
        return response;
    })

//  导航栏 协会简介中查询 协会简介 组织机构 协会章程 登记事项 会员单位 会员收取标准
export const selectOneNewsInfo = (params) => service.get('/sqlsBankWeb/bankWeb/selectOneNewsInfo', {params})
    .then(response => {
        return response;
    })

// 获取字典表
export const selectDict = (params) => service.get('/mobile/interface/getDictListByCode', {params})
    .then(response => {
        return response;
    })
// 信贷产品
export const creditProducts = (params) => service.get('/sqlsBankWeb/bankWeb/creditProducts', {params})
    .then(response => {
        return response;
    })
// 查询产品分类树状
export const selectProductTypeTree = (params) => service.get('/sqlsBankWeb/bankWeb/listTreeProduct', {params})
    .then(response => {
        return response;
    })
//  查询银行机构信息列表
export const selectBankTypeInstitution = (params) => service.get('/sqlsBankWeb/bankWeb/selectBankTypeInstitution', {params})
    .then(response => {
        return response;
    })
//  添加访客量
export const addVisits = (params) => service.get('sqlsBankWeb/bankWeb/addVisits', {params})
    .then(response => {
        return response;
    })
//  获取向前ip地址
export const iPAddress = (params) => service.get('/sqlsBankWeb/bankWeb/get_client_ip', {params})
    .then(response => {
        return response;
    })
//  添加访客量
export const selectVisits = (params) => service.get('/sqlsBankWeb/bankWeb/selectWebVisits', {params})
    .then(response => {
        return response;
    })
//  首页轮播图
export const selectImageNewsInfo = (params) => service.get('/sqlsBankWeb/bankWeb/selectImageNewsInfo', {params})
    .then(response => {
        return response;
    })
